package com.ruoyi.edh.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @version :
 * @program: easyBuy
 * @description: 优惠券Vo
 * @author: 周爱鸿
 * @create: 2020-09-17 13:45
 **/
@ApiModel("优惠券Vo")
@Data
public class EdhCouponVo {

	@ApiModelProperty("优惠券id")
	private Long id ;

	@ApiModelProperty("优惠券名称")
	@Excel(name = "优惠券名称")
	private String name;

	@ApiModelProperty("优惠券金额")
	@Excel(name = "优惠券金额")
	private BigDecimal money;

	@ApiModelProperty("优惠券使用门槛")
	@Excel(name = "优惠券使用门槛")
	private BigDecimal condition;

	@ApiModelProperty("发送开始时间")
	@Excel(name = "发送开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date sendStartTime;

	@ApiModelProperty("发送截止时间")
	@Excel(name = "发送截止时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date sendEndTime;

	@ApiModelProperty("使用范围")
	@Excel(name = "使用范围")
	private String useType;

	@ApiModelProperty("已领取的优惠券数量")
	@Excel(name = "已领取的优惠券数量")
	private Integer num;


}
